Memory Optimization of Dynamic Binary Translators for Embedded Platforms

نویسندگان

  • Apala Guha
  • Kamin Whitehouse
  • Joanne Bechta Dugan
چکیده

Dynamic binary translators (DBTs) are becoming increasingly important because of their power and flexibility. DBT-based services are valuable for all types of platforms. However, the high memory demands of DBTs present an obstacle for embedded systems. Most research on DBT design has a performance focus, which often drives up the DBT memory demand. In this dissertation, we propose a memory-oriented approach to DBT design. We consider the class of translation-based DBTs and their sources of memory demand cached translated code, cached auxiliary code and DBT data structures. We explore aspects of DBT design that impact these memory demand sources and propose strategies to mitigate memory demand. We also explore optimizations for DBTs that handle memory demand by placing a limit on it, thereby replacing the memory demand problem with a performance degradation problem. Our optimizations that mitigate memory demand reduce the performance degradation. Additionally, we design approaches specific to these memory-limited DBTs. We mitigate memory demand by identifying path selection (trace selection and linking) as a DBT design aspect that influences both the relative and absolute sizes of the different sources of memory demand. We explore a comprehensive set of path selection strategies to propose one that addresses both memory efficiency and performance. For a given path selection, we identified auxiliary code as offering many opportunities for further optimizing the memory demand. We designed approaches to reduce the size of individual auxiliary code blocks and the count of auxiliary code blocks. These optimizations reduce memory demand as well as improve performance by reaching the memory limit less often. While reaching the memory limit less often reduces the time spent flushing, retranslation over-

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

FIST: A Framework for Instrumentation in Software Dynamic Translators

Software dynamic translators (SDT) typically monitor, profile, and affect the execution of a program. Such systems have been used to build many useful applications, including dynamic code optimizers for binary machine code and Java bytecode, software security checkers, binary translators, code profilers and program introspection tools. While all of these systems use program instrumentation, the...

متن کامل

A dynamic binary translation system in a client/server environment

With rapid advances in mobile computing, multi-core processors and expanded memory resources are being made available in new mobile devices. This trend will enable a wider range of existing applications to be migrated to mobile devices, for example, running desktop applications in IA-32 (x86) binaries on ARM-based mobile devices transparently using dynamic binary translation (DBT). However, the...

متن کامل

Investigating a SoftCache via Dynamic Rewriting

Software caching via binary rewriting enables networked embedded devices to have the benefits of a memory hierarchy without the hardware costs. A software cache replaces the hardware cache/MMU mechanisms of the embedded system with software management of on-chip RAM using a network server as the backing store. The bulk of the software complexity is placed on the server so that the embedded syst...

متن کامل

Effects of the asymmetric behavior of the shape memory alloy on nonlinear dynamic responses of thick sandwich plates with embedded SMA wires

In the present article, the dynamic behavior of sandwich plates with embedded shape memory alloy (SMA) wires is evaluated for two cases wherein (i) the stress-strain curve of the superelastic behavior of the SMA wires is symmetric and (ii) the mentioned curve is non-symmetric. A modified version of Brinson’s constitutive model is proposed and used. The high non-linearity in the behavior stems f...

متن کامل

Clustering and Memory-based Parent-Child Swarm Meta-heuristic Algorithm for Dynamic Optimization

So far, various optimization methods have been proposed, and swarm intelligence algorithms have gathered a lot of attention by academia. However, most of the recent optimization problems in the real world have a dynamic nature. Thus, an optimization algorithm is required to solve the problems in dynamic environments well. In this paper, a novel collective optimization algorithm, namely the Clus...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2010